const ReceivingManagement = () => import('@/modules/shipmentCollaboration/views/receivingManagement.vue')
const ReceivingDetail = () => import('@/modules/shipmentCollaboration/views/receivingDetail.vue')

const parentRouter = [
  {
    label: '发货协同',
    path: ''
  }
]

const routes = [
  {
    path: '/shipment/receivingManagement',
    name: 'ReceivingManagement',
    meta: {
      icon: 'icon-renyuanguanli',
      title: '收货管理',
      keepAlive: true,
      parentTitle: [...parentRouter]
    },
    component: ReceivingManagement
  },
  {
    path: '/shipment/receiving/detail',
    name: 'ReceivingDetail',
    meta: {
      icon: 'icon-renyuanguanli',
      title: '收货单详情',
      keepAlive: true,
      parentTitle: [...parentRouter]
    },
    component: ReceivingDetail
  }
]
export default routes
